home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / Apple Shared Library Manager / ASLM Examples / Sample Apps / CPlusSample / Sources / SampleLibrary.exp < prev    next >
Encoding:
Text File  |  1996-11-19  |  1.3 KB  |  46 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        SampleLibrary.exp
  3.  
  4.     Contains:    Library and Class declarations for CPlusSampleLibrary
  5.  
  6.     Copyright:    © 1993 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10.  
  11. #include <LibraryManager.h>
  12. #include "SampleLibrary.h"
  13.  
  14.  
  15. /*————————————————————————————————————————————————————————————————————————————————————
  16.     Library declarations defines the ID of the shared library and the version.\
  17.         initproc(optional)        "C" routine to be called immediately after loading 
  18.         cleanupProc(optional)    "C" routine to be called after library is unloaded
  19.         flags(optional)
  20.             noSegUnload            The segments of the shared library cannot be unloaded.
  21.             preload                All segments of the shared library should be loaded at
  22.                                 library load time.
  23.         id(required)            Defines the ID of the library
  24.         version(required)        Defines the version of the library.
  25.         memory(optional)         The default pool memory allocation will be the 
  26.             client                from client pool.
  27.             local                from local pool 
  28. ———————————————————————————————————————————————————————————————————————————————————*/
  29.  
  30. Library
  31. {
  32.     id         =    kTrafficLightLibID;
  33.     version =    1.1;
  34.     memory     =    client;
  35. };
  36.  
  37. /*————————————————————————————————————————————————————————————————————————————————————
  38.     This is the class we want to export.
  39. ————————————————————————————————————————————————————————————————————————————————————*/
  40.  
  41. Class TTrafficLight
  42. {
  43.     version =    1.1;
  44. };
  45.  
  46.